package com.manage.service;

import com.manage.pojo.Collections;
import com.manage.pojo.operation.CollectionsList;
import com.manage.utils.PagedResult;

public interface CollectionsService {
    /**
     * @Description: 判断鞋收藏id是否存在
     */
    public boolean queryCollectionsIsExit(String collectionId);

    /**
     * @Description: 鞋收藏添加保存
     */
    public void saveCollections(Collections collection);

    /**
     * @Description: 鞋收藏删除
     */
    public void collectionDelete(String collectionId);

    /**
     * @Description: 根据收藏id查询鞋收藏信息
     */
    public CollectionsList queryCollectionsInfoByCollectionId(String collectionId);

    /**
     * @Description: 根据用户id查询鞋收藏列表
     */
    public PagedResult queryCollectionsInfoByUserId(Integer page, Integer pageSize, String userId);

    /**
     * @Description: 根据鞋id查询鞋收藏列表
     */
    public PagedResult queryCollectionsInfoByShoesId(Integer page, Integer pageSize, String shoesId);

    /**
     * @Description: 查询所有图书收藏列表
     */
    public PagedResult queryCollections(Integer page, Integer pageSize);

}
